<template>
  <div>
    <P>登录用户{{name}}</P>welcome
  </div>
</template>

<script>
export default {
  data() {
    return {
      name:''
    }
  },
  created(){
    this.name = window.sessionStorage.getItem('username')
  }
};
</script>

<style>
</style>
